package com.bfly.mall.system.dto;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 数据字典表单DTO
 *
 * @author 长沙商脉科技有限公司
 * @date 2018/11/15 16:18
 */
public class DictionaryFormDTO implements Serializable {


    private static final long serialVersionUID = 8704650897955866727L;

    private int id;

    @NotBlank(message = "名称不能为空!")
    private String name;

    @NotBlank(message = "值不能为空!")
    private String value;

    @NotBlank(message = "类型不能为空!")
    private String type;
    private String icon;
    private String remark;
    private boolean enabled;
    private int seq;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public int getSeq() {
        return seq;
    }

    public void setSeq(int seq) {
        this.seq = seq;
    }
}